package com.greatwall.hip.cms.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.greatwall.hip.cms.entity.LyPacsReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (LyPacsReport)表数据库访问层
 *
 * @author makejava
 * @since 2021-07-07 11:39:09
 */
public interface LyPacsReportDao extends BaseMapper<LyPacsReport> {

    /**
     * 查询记录
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<LyPacsReport> queryAllByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);

    /**
     * 查询儿童记录
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<LyPacsReport> queryChildAllByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);

    /**
     * 查询记录
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<LyPacsReport> querySymptomByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);
}